<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp"%>
<%
	//查询服务格
	String name = input.getDesc("name","");
	String lbName = input.getDesc("lbName","");
	List list = QBuilder.db("basedb").queryHql("select new map(y.name as name , y.xmdw as xmdw , y.xmgg as xmgg , y.xmdj as xmdj , lb.name as lbname) from YY_SFXXMK y , xmlb lb where y.xmlb = lb.lb and y.name like '%" + name + "%' and lb.name='" + lbName + "'");
	Message msg = new Message();
	msg.put("errcode",0);
	msg.put("data",list);
	out.println(msg);
%>